$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;

.home {
  position: relative;
  width: 100%;
  padding-top: 4vw;
  .section1{
    background: #F7F7F7;
    padding: 5vw 10vw;
    display: flex;
    justify-content: space-between;
    .pics{
      width: 20%;
      text-align: center;
      .swiper-container{
        width: 100%;
        .two{
          width: 100%;
          .pic{
             width: 100%;
            margin-bottom: 10px;
            img{
              max-width: 100%;
              object-fit: cover;
            }
          }
        }
      }
      .prev{
        outline: none;
        border: none;
        margin-top: 3vw;
        cursor: pointer;
      }
    }
    .bg{
      width: 50%;
      text-align: center;
      img{
        max-width: 100%;
        object-fit: contain;
      }
    }
    .name{
      width: 20%;
      font-size: $fontSize_32;
      font-style: italic;
      font-weight: bold;
      display: flex;
      flex-direction: column;
      justify-content: center;
      line-height: 1.5;
      p{
        white-space: nowrap;
      }
    }
  }
  .section2{
    width: 80vw;
    margin: 4vw auto;
    .t1{
      font-size: $fontSize_32;
      font-weight: bold;
      font-style: italic;
      color:#C8161E;
      text-transform: uppercase;
      border-bottom: 1px solid #CBCBCB;
      padding: 15px 0;
    }
    .table{
      width: 100%;
      .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #CBCBCB;
        padding: 15px 0;
        p{
          font-size: $fontSize_14;
          font-style: italic;
          color: #646565;
          text-transform: capitalize;
        }
      }
    }
    .tip{
      font-size: $fontSize_14;
      margin: 1vw 0 3vw 0;
      color: #646565;
      span{
        color:#C8161E;
      }
    }
    .des{
      font-size: $fontSize_16;
      line-height: 1.6;
      color: #333;
    }
  }

  .section3{
    width: 80vw;
    margin: 4vw auto 8vw auto;
    .t{
      font-size: $fontSize_24;
      font-weight: bold;
      text-align: center;
      font-style: italic;
    }
    .pros{
      width: 100%;
      margin: 3vw auto;
      position: relative;
      .prev{
        position: absolute;
        left: -60px;
        top:50%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        outline: none;
        border: none;
      }
      .next{
        position: absolute;
        right: -60px;
        top:50%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        outline: none;
        border: none;
      }
      .swiper-scrollbar{
        width: 100%;
        height:3px;
        background: #EDEDED;
        .swiper-scrollbar-drag{
          background-color: #000;
        }
      }
      .swiper-container{
        width: 100%;
        a{
          display: block;
          .pic{
            height:200px;
            display: flex;
            align-items: center;
            justify-content: center;
            img{
              max-width: 100%;
              object-fit: contain;
              max-height: 100%;
            }
          }
          .des{
            width: 80%;
            margin: 2vw auto;
            color: #333;
            font-size: $fontSize_16;
            line-height: 1.8;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .section1{
      padding: 30px 5% 80px 5%;
      position: relative;
      .pics{
        .prev{
          img{
            max-width: 50%;
          }
        }
      }
      .bg{
        width: 70%;
      }
      .name{
        font-size: 16px;
        position: absolute;
        left: 5%;
        bottom:20px;
        width: 90%;
        text-align: center;
      }
    }
    .section2{
      width: 90vw;
      margin: 30px auto;
      .t1{
        font-size:18px;
      }
      .table{
        .item{
          p{
            font-size: 14px;
          }
        }
      }
      .tip{
        font-size: 14px;
        margin: 15px 0 30px 0;
      }
      .des{
        font-size: 14px;
        text-align: justify;
      }
    }
    .section3{
      width: 90%;
      margin: 30px auto;
      .t{
        font-size: 18px;
      }
      .pros{
        margin: 20px auto;
        .prev,.next{
          display: none;
        }
        .swiper-container{
          a{
            .pic{
              height: 150px;
            }
            .des{
              width: 90%;
              font-size: 14px;
            }
          }
        }
      }
    }
  }
}